package com.example.demo.service;


import com.example.demo.entity.UserHistory;

import java.util.List;

public interface BorrowBookService {

    //我的借阅
    public List<UserHistory> myHistory(int id);

    //图书借阅
    public List<Object> borrowHistory();


    boolean borrowBook(String username, int bookId);

    boolean backBook(int borrowId);
}
